package hm2;

public class Truck extends Vehicle{
    int load;
    public Truck(int wheels, double weight,int load) {
        super(wheels, weight);
        this.load = load;
    }

    @Override
    public void show() {
        System.out.println("车型：卡车");
        super.show();
        System.out.printf("载重量:%d,",load);
    }
}
